home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 426-450 / disk_436 / keymacro / installhandler < prev    next >
Text File  |  1992-05-06  |  1KB  |  42 lines

  1. .K ""
  2. echo "This script will install KeyMacro-Handler and Null-Handler, after"
  3. echo "checking to see if you already have one.  If so, it will check the"
  4. echo "size and dates of the installed ones, and the ones in this directory,"
  5. echo "and give you the option of installing the one found here."
  6. echo ""
  7.  
  8. if not EXISTS l:KeyMacro-Handler
  9.     echo "No existing handler, installing l:KeyMacro-Handler..."
  10.     copy KeyMacro-Handler l:KeyMacro-Handler
  11. else
  12.     echo "Examine the size and dates of each handler."
  13.     echo ""
  14.     list l:KeyMacro-Handler
  15.     list KeyMacro-Handler
  16.     echo ""
  17.     ask "Do you wish to overwrite l:KeyMacro-Handler?"
  18.     if WARN
  19.         echo "Updating l:KeyMacro-Handler..."
  20.         copy KeyMacro-Handler l:KeyMacro-Handler
  21.     endif
  22. endif
  23.  
  24. if not EXISTS l:Null-Handler
  25.     echo "No existing handler, installing l:Null-Handler..."
  26.     copy Null-Handler l:Null-Handler
  27. else
  28.     echo "Examine the size and dates of each handler."
  29.     echo ""
  30.     list l:Null-Handler
  31.     list Null-Handler
  32.     echo ""
  33.     ask "Do you wish to overwrite l:Null-Handler?"
  34.     if WARN
  35.         echo "Updating l:Null-Handler..."
  36.         copy Null-Handler l:Null-Handler
  37.     endif
  38. endif
  39.  
  40. echo "All Done.  Click close gadget to get rid of window."
  41. endcli
  42.